package com.byzk.p2p.admin.web.dao;

import java.util.List;

import com.byzk.p2p.admin.web.dto.Banner;
import com.byzk.p2p.admin.web.vo.BannerVo;

/**
 * banner DAO
 * 
 * @author LJY
 *
 */
public interface BannerDao {
	public Integer insert(Banner banner);

	public Integer count(BannerVo vo);

	public List<BannerVo> bannerList(BannerVo vo);

	public BannerVo getBannerById(Integer id);

	public Integer update(Banner banner);
	
	public List<BannerVo> listBanner(Banner banner);
	
	public Integer deleteBanner(Integer id);
}
